using System;
using Machine.Specifications;

namespace CodingDojo.Domain.Spec.KataAlarmClock
{
  public class When_Turning_The_First_Alarm_On_Then_Snooze : With_Two_Alarms_Ready_To_Be_Used
  {
    Because of = () =>
                   {
                     _alarmsManager.TurnOn(_alarm.Id);
                     _alarmsManager.Snooze(_alarm.Id);
                   };

    private It Should_Wake_Me_Up_At_709 = () => _alarmsManager.CheckAlarms(new TimeSpan(7, 9, 0)).ShouldNotBeNull();
  }
}